import React, { Component } from "react";
//样式模块化引入(修改样式文件名 增加module)
import hello from './index.module.css'

export default class Hello extends Component{
    render(h) {
     return (
         <h2 className={hello.title}>Hello,React!</h2>
     )   
    }
}